Repository navigation
macos: restore TCC defaults and fix V1 release installation - #31382
Merged
medvednikov merged 1 commit intoOct 29, 2026
Merged
medvednikov merged 1 commit into
medvednikov merged 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 29, 2026
quaesitor-scientiam
added a commit
to quaesitor-scientiam/graphify
that referenced
this pull request
Oct 29, 2026
Since vlang/v#31382, V's plain builds on macOS use TCC again, and the MCP server built that way starts in about 7 s and answers 3-6x slower than a -prod build, which now takes 29 s to build rather than 3 min 14 s. Co-authored-by: Richard Wheeler <Richard.Wheeler@rjew.info> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
7 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restore bundled TCC as the default for regular macOS builds and
v self, including Darwin 27. Remove the historical Darwin-version veto from driver selection, test-build facts and bootstrap, preserve explicit compiler overrides and the existing production/debug/race constraints, and retain the public compatibility helpers.Fix legacy V 0.5.2 installation by preferring
bsdtarafter checksum verification: Apple'sunziprejects the official archive's absolutelibc.dylibsymlink and otherwise forces a failing source-build fallback. Add an offline end-to-end installer regression and an actual TCC zero-initialized-globals regression. Keep all 5,000 cases in the dense-match regression and put flags before its input file.Validation on macOS 27 arm64:
./v selfbuilds select-cc tccand pass; all produce the same compiler SHA256.-showcccompile confirms TCC and its executable passes.check-md, and installer shell syntax pass.Merge prerequisite: publish corrected macOS TCC bundles. The currently published arm64
tccbinhead9792ded184adcea3254855e5ffb7abe587887a29still has the old binary: the regression observes 13,567 nonzero BSS bytes. Validation used a locally rebuilt TinyCC85ba3ae8f1e22044255d54c28be04e5fc3e88ae0, built by the existing patched ARM64 recipe withnew_macho=no, binary SHA256156b3996ee40b513d8be64403c2f2b1fe2ab9b09893c0da4a96b2765b612d92d. That rebuild passes executable/library BSS, relocation and signing checks. The matching Intel recipe change (apply the existing page-count patch and usenew_macho=no) is prepared and passed BSS, relocation and signing checks under Rosetta. It awaits the approval required byAGENTS.mdbefore editing trackedthirdparty/files. The published Intel bundle and native Intel runtime remain unvalidated.The explicit AppleClang large-match failure was isolated to its parser stack limit: identical generated C succeeds with a larger stack. Restoring the TCC default makes the complete regression pass; this PR does not claim a Clang code-generation fix. Broad suites remain deferred until the PRs are merged.
Refs #29744 and #29745.